
#import b
from net.conn import *
from net.connManager import *
from userVec import *
from user import *
import time

def echo(data, conn):
	print "[debug]", data

u1 = user(10002)
#u2 = user(10004)
uv.addUser(u1)
#nv.addUser(u2)

u1.login(20211)
#u2.login(0)

time.sleep(1)

u1.sit(1)
#u2.sit(2)

'''
c = Conn()
cm.addConn(c)
c.connect("192.168.0.10", 8888, echo)
c.send("hello word123")
cm.D_print()
'''
uv.loop()
time.sleep(1)

